package com.tedu.egmybatis1.mapper;

import com.tedu.egmybatis1.pojo.Product;
import org.apache.ibatis.annotations.*;

import java.util.List;

@Mapper
public interface ProductMapper {

    int insertProduct(Product product);


    int deleteProductById(Integer id);


    int updateProductById(Product product);


    Product selectProductById(Integer id);


    List< Product> selectAllProduct();


}
